package com.sright.bcard.user.share.service;

import com.sright.bcard.common.service.share.dto.user.LoginDTO;
import com.sright.bcard.user.share.request.TokenParam;
import com.sright.bcard.user.share.request.WxappLoginParam;
import com.sright.common.response.SrightResponse;

public interface LoginService {
    SrightResponse<LoginDTO> login(String code);

    SrightResponse<Boolean> setUserInfo(WxappLoginParam param, TokenParam user) throws Exception;

    SrightResponse testLogin();

    SrightResponse showButton(String version);
}
